package com.tg.paw.ums.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Rubble
 * @date 2020/6/13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TokenData {

    /**
     * access_token
     */
    public static final String API_KEY="API_KEY";
    /**
     * oauth2  Authorization
     */
    public static final String BEARER_TOKEN="BEARER_TOKEN";

    private String type;

    private String accessToken;

    private String refreshToken;

    /**
     * 过期时间
     */
    private long expiresIn;

    /**
     * 刷新过期时间
     */
    private long refreshExpiresIn;
}
